package com.hntest.entity;

import java.io.Serializable;

//网站会员相关信息  (前台用户)
public class UserInfo implements Serializable {

    private static final long serialVersionUID = 7521612776199026205L;
    private Integer liid;
    private int version;//版本号
    private Long bitState=0L; //位状态
    private String realName; //对应实名认证中的真实姓名
    private String idNumber; //对应实名认证中的身份证号
    private String phoneNumber=""; //手机号

    //会员基本资料
    private SystemDicionaryItem incomeGrade; //月收入
    private SystemDicionaryItem marriage; //婚姻情况
    private SystemDicionaryItem kidCount;// 子女情况
    private SystemDicionaryItem educationBackground; //学历
    private SystemDicionaryItem houseCondition;//住房条件

    public UserInfo(){}

    public UserInfo(int version, Long bitState, String realName, String idNumber, String phoneNumber, SystemDicionaryItem incomeGrade, SystemDicionaryItem marriage,
                    SystemDicionaryItem kidCount, SystemDicionaryItem educationBackground, SystemDicionaryItem houseCondition) {
        this.version = version;
        this.bitState = bitState;
        this.realName = realName;
        this.idNumber = idNumber;
        this.phoneNumber = phoneNumber;
        this.incomeGrade = incomeGrade;
        this.marriage = marriage;
        this.kidCount = kidCount;
        this.educationBackground = educationBackground;
        this.houseCondition = houseCondition;
    }

    public int getVersion() {
        return version;
    }

    public void setVersion(int version) {
        this.version = version;
    }

    public Long getBitState() {
        return bitState;
    }

    public void setBitState(Long bitState) {
        this.bitState = bitState;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getIdNumber() {
        return idNumber;
    }

    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public SystemDicionaryItem getIncomeGrade() {
        return incomeGrade;
    }

    public void setIncomeGrade(SystemDicionaryItem incomeGrade) {
        this.incomeGrade = incomeGrade;
    }

    public SystemDicionaryItem getMarriage() {
        return marriage;
    }

    public void setMarriage(SystemDicionaryItem marriage) {
        this.marriage = marriage;
    }

    public SystemDicionaryItem getKidCount() {
        return kidCount;
    }

    public void setKidCount(SystemDicionaryItem kidCount) {
        this.kidCount = kidCount;
    }

    public SystemDicionaryItem getEducationBackground() {
        return educationBackground;
    }

    public void setEducationBackground(SystemDicionaryItem educationBackground) {
        this.educationBackground = educationBackground;
    }

    public SystemDicionaryItem getHouseCondition() {
        return houseCondition;
    }

    public void setHouseCondition(SystemDicionaryItem houseCondition) {
        this.houseCondition = houseCondition;
    }
}
